package com.ssy.lingxi.member.merchant.repository;

import com.ssy.lingxi.member.merchant.entity.PlatformProcessRuleDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * 会员注册流程配置Jpa仓库
 * @author 万宁
 * @version 2.0.0
 * @date 2021-11-09
 */
@Repository
public interface PlatformProcessRuleRepository extends JpaRepository<PlatformProcessRuleDO, Long>, JpaSpecificationExecutor<PlatformProcessRuleDO> {
    PlatformProcessRuleDO findFirstByRoleId(Long roleId);
}
